package com.spboot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 2 启动类
 * 内置tomcat 8080
 * @author Administrator
 *
 */
//@ComponentScan("com.controller") //spring
@SpringBootApplication // 标识springboot应用
//@EnableAspectJAutoProxy 开启Aop
public class Application {

	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}
	//注入bean
//	@Bean //xml bean
//	public User user(){
//		return new User();
//	}
	
}
